package cn.com.git.workflow.service.dto;

import cn.com.git.common.base.BaseDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
/**
  * WorkFlow save dto
  * @author zhangzhenfu
  * @Description
  * @date 2020/4/13
*/
@Data
public class WorkFlowSaveDTO extends BaseDTO {

    @ApiModelProperty(value = "主表单")
    @NotNull(message = "表单不能为空")
    private WorkFlowSaveDTO.WorkFlow m;

    @Data
    public static class WorkFlow {
        @ApiModelProperty(value = "主键")
        private Integer id;
    }

}